home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / viewkit / xcontact / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  1.4 KB  |  48 lines

  1. #!smake
  2. #
  3. # Top level Makefile for xcontact
  4. #
  5. #    "$Revision: $"
  6.  
  7. include    $(ROOT)/usr/include/make/commondefs
  8.  
  9. SUBDIRS=\
  10.     parody\
  11.     src\
  12.     resources\
  13.     catman\
  14.     $(NULL)
  15. #    onlineHelp\
  16. #    $(NULL)
  17. #  toolbox janitor's note:  the above two lines were commented out (and
  18. #  7/26/94                  a replica "$(NULL)" line created above), cuz
  19. #                           something's wrong with the way Make descends
  20. #                           into the onlineHelp tree.  IF one goes into 
  21. #                           onlineHelp, one *can* manually make things.
  22. #                           if anyone figures out why this is broken 
  23. #                           when make descends from above onlineHelp,
  24. #                           please enlighten the janitor via e-mail at
  25. #                           dave@sgi.com, voice 415/960-3556, or by fax
  26. #                           415/967-6239 and he will be forever in yer
  27. #                           debt.
  28. #                  note#2:  for onlineHelp to successfully compile, one
  29. #                           must have the toolbox/utilities/sgihelp_dev
  30. #                           subsystem loaded so the /usr/include/make
  31. #                           commonhelpdefs can be accessed.
  32.  
  33. .PRECIOUS: $(SUBDIRS)
  34.  
  35. COMMONPREF=xcontact
  36.  
  37. default install $(COMMONTARGS): 
  38.     @for d in $(SUBDIRS); do \
  39.         echo "=\tcd $$d; $(MAKE) $@"; \
  40.         cd $$d; $(MAKE) $@; cd ..; \
  41.     done
  42.  
  43.  
  44. $(SUBDIRS): $(_FORCE)
  45.     cd $@; $(MAKE)
  46.  
  47. include $(COMMONRULES)
  48.